/**
 *查询用户组下拉框
 */
'use strict';

const conn = require('../../libs/DB/Conn');

module.exports = async function (params) {
   let downDropList = await conn(`SELECT group_id AS value,group_name AS label FROM user_group WHERE domain_id = ${params.userDomainId} AND delete_sign = 1 AND is_manager = 0`);
   return {success:true,downDropList:downDropList}
};
